package com.bz.websocket.http;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.reactive.function.client.WebClient;

/**
 * @author zhongyongbin
 * @since 2021/5/11
 */
@Configuration
public class WebClientConfiguration {

    /**
     * HTTP 客户端
     *
     * @return HTTP 客户端
     */
    @Bean
    public WebClient webClient() {
        return WebClient.create();
    }
}
